import formBuilder from "@/comps/form/formBuilder";
import apiGrade from "@/pages/v1/study/Grade/js/apiGrade";
import apiSubject from "@/pages/v1/study/Subject/js/apiSubject";

export default function () {
    let fb = formBuilder()
    fb.setLabelPosition("right").setLabelWidth(100)
    fb.addSelect("gradeId","年级",3).setApi(apiGrade.urlChoice)
    fb.addSelect("subjectId","学科",3).setApi(apiSubject.urlChoice)
    fb.addText("name__regex","名称",3)
    return fb
}